Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Notes and Domino Application Development wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
Community Articles > 日本語 - Japanese > Japanese How to observe JSF phase inside XPages
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Community articleJapanese How to observe JSF phase inside XPages
Added by ~Rebecca Minfreevitchobu on March 18, 2013 | Version 1
expanded Abstract
collapsed Abstract
No abstract provided.

 

 
 
WebContent\WEB-INF\faces-config.xsml
 
{code}
   
        mypackage.MyPhaseListener
   

	 
	 
	mypackage.MyPhaseListener.java
	 
	
package mypackage;
 
import javax.faces.event.PhaseEvent;
import javax.faces.event.PhaseId;
import javax.faces.event.PhaseListener;
 
public class MyPhaseListener implements PhaseListener {
 
    private static final long serialVersionUID = 1L;
 
    public PhaseId getPhaseId() {
        return PhaseId.ANY_PHASE;
    }
 
 
    public void beforePhase(PhaseEvent phaseEvent) {
        System.out.println("=== フェーズ開始 " + phaseEvent.getPhaseId().toString());
    }
    
    public void afterPhase(PhaseEvent phaseEvent) {
        System.out.println("=== フェーズ終了 " + phaseEvent.getPhaseId().toString());
        if (phaseEvent.getPhaseId().equals(PhaseId.RENDER_RESPONSE)) {
            System.out.println("=== XPage 処理完了");
            System.out.println(".");System.out.println(".");
        }
    }
}
}
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (10)
collapsed Versions (10)
Version Comparison     
VersionDateChanged by              Summary of changes
10Mar 19, 2013, 11:48:34 PM~Justin Elwemarynds  
9Mar 19, 2013, 11:47:31 PM~Rebecca Minfreevitchobu  
8Mar 19, 2013, 11:46:51 PM~Rebecca Minfreevitchobu  
7Mar 19, 2013, 11:11:11 PM~Rebecca Minfreevitchobu  
6Mar 18, 2013, 3:22:12 PM~Rebecca Minfreevitchobu  
5Mar 18, 2013, 3:20:52 PM~Rebecca Minfreevitchobu  
4Mar 18, 2013, 3:20:14 PM~Rebecca Minfreevitchobu  
3Mar 18, 2013, 3:12:51 PM~Rebecca Minfreevitchobu  
2Mar 18, 2013, 3:11:41 PM~Rebecca Minfreevitchobu  
This version (1)Mar 18, 2013, 3:02:31 PM~Rebecca Minfreevitchobu  
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL
  • Privacy
  • Accessibility